<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>std.stdint</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "std.stdint";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/std.stdint.html" class="symbol">std.stdint</a></h1>
  
<div class="summary">D constrains integral types to specific sizes. But efficiency
	of different sizes varies from machine to machine,
	pointer sizes vary, and the maximum integer size varies.
	<b>stdint</b> offers a portable way of trading off size
	vs efficiency, in a manner compatible with the <tt>stdint.h</tt>
	definitions in C.</div>
The exact aliases are types of exactly the specified number of bits.
	The at least aliases are at least the specified number of bits
	large, and can be larger.
	The fast aliases are the fastest integral type supported by the
	processor that is at least as wide as the specified number of bits.
<p class="bl"/>
	The aliases are:
<p class="bl"/>
	<table border=1 cellspacing=0 cellpadding=5>
	<th>Exact Alias
	<th>Description
	<th>At Least Alias
	<th>Description
	<th>Fast Alias
	<th>Description
	<tr>
	<td>int8_t
	<td>exactly 8 bits signed
	<td>int_least8_t
	<td>at least 8 bits signed
	<td>int_fast8_t
	<td>fast 8 bits signed
	<tr>
	<td>uint8_t
	<td>exactly 8 bits unsigned
	<td>uint_least8_t
	<td>at least 8 bits unsigned
	<td>uint_fast8_t
	<td>fast 8 bits unsigned
<p class="bl"/>
	<tr>
	<td>int16_t
	<td>exactly 16 bits signed
	<td>int_least16_t
	<td>at least 16 bits signed
	<td>int_fast16_t
	<td>fast 16 bits signed
	<tr>
	<td>uint16_t
	<td>exactly 16 bits unsigned
	<td>uint_least16_t
	<td>at least 16 bits unsigned
	<td>uint_fast16_t
	<td>fast 16 bits unsigned
<p class="bl"/>
	<tr>
	<td>int32_t
	<td>exactly 32 bits signed
	<td>int_least32_t
	<td>at least 32 bits signed
	<td>int_fast32_t
	<td>fast 32 bits signed
	<tr>
	<td>uint32_t
	<td>exactly 32 bits unsigned
	<td>uint_least32_t
	<td>at least 32 bits unsigned
	<td>uint_fast32_t
	<td>fast 32 bits unsigned
<p class="bl"/>
	<tr>
	<td>int64_t
	<td>exactly 64 bits signed
	<td>int_least64_t
	<td>at least 64 bits signed
	<td>int_fast64_t
	<td>fast 64 bits signed
	<tr>
	<td>uint64_t
	<td>exactly 64 bits unsigned
	<td>uint_least64_t
	<td>at least 64 bits unsigned
	<td>uint_fast64_t
	<td>fast 64 bits unsigned
	</table>
<p class="bl"/>
	The ptr aliases are integral types guaranteed to be large enough
	to hold a pointer without losing bits:
<p class="bl"/>
	<table border=1 cellspacing=0 cellpadding=5>
	<th>Alias
	<th>Description
	<tr>
	<td>intptr_t
	<td>signed integral type large enough to hold a pointer
	<tr>
	<td>uintptr_t
	<td>unsigned integral type large enough to hold a pointer
	</table>
<p class="bl"/>
	The max aliases are the largest integral types:
<p class="bl"/>
	<table border=1 cellspacing=0 cellpadding=5>
	<th>Alias
	<th>Description
	<tr>
	<td>intmax_t
	<td>the largest signed integral type
	<tr>
	<td>uintmax_t
	<td>the largest unsigned integral type
	</table>
<p class="sec_header">Authors:</p>Walter Bright, www.digitalmars.com
<p class="sec_header">License:</p>Public Domain
<dl>
<dt class="decl">alias byte <a class="symbol _alias" name="int8_t" href="./htmlsrc/std.stdint.html#L124" kind="alias" beg="124" end="124">int8_t</a>; <a title="Permalink to this symbol" href="#int8_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L124">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias ubyte <a class="symbol _alias" name="uint8_t" href="./htmlsrc/std.stdint.html#L125" kind="alias" beg="125" end="125">uint8_t</a>; <a title="Permalink to this symbol" href="#uint8_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L125">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias short <a class="symbol _alias" name="int16_t" href="./htmlsrc/std.stdint.html#L126" kind="alias" beg="126" end="126">int16_t</a>; <a title="Permalink to this symbol" href="#int16_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L126">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias ushort <a class="symbol _alias" name="uint16_t" href="./htmlsrc/std.stdint.html#L127" kind="alias" beg="127" end="127">uint16_t</a>; <a title="Permalink to this symbol" href="#uint16_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L127">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias int <a class="symbol _alias" name="int32_t" href="./htmlsrc/std.stdint.html#L128" kind="alias" beg="128" end="128">int32_t</a>; <a title="Permalink to this symbol" href="#int32_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L128">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias uint <a class="symbol _alias" name="uint32_t" href="./htmlsrc/std.stdint.html#L129" kind="alias" beg="129" end="129">uint32_t</a>; <a title="Permalink to this symbol" href="#uint32_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L129">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias long <a class="symbol _alias" name="int64_t" href="./htmlsrc/std.stdint.html#L130" kind="alias" beg="130" end="130">int64_t</a>; <a title="Permalink to this symbol" href="#int64_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L130">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias ulong <a class="symbol _alias" name="uint64_t" href="./htmlsrc/std.stdint.html#L131" kind="alias" beg="131" end="131">uint64_t</a>; <a title="Permalink to this symbol" href="#uint64_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L131">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias byte <a class="symbol _alias" name="int_least8_t" href="./htmlsrc/std.stdint.html#L135" kind="alias" beg="135" end="135">int_least8_t</a>; <a title="Permalink to this symbol" href="#int_least8_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L135">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias ubyte <a class="symbol _alias" name="uint_least8_t" href="./htmlsrc/std.stdint.html#L136" kind="alias" beg="136" end="136">uint_least8_t</a>; <a title="Permalink to this symbol" href="#uint_least8_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L136">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias short <a class="symbol _alias" name="int_least16_t" href="./htmlsrc/std.stdint.html#L137" kind="alias" beg="137" end="137">int_least16_t</a>; <a title="Permalink to this symbol" href="#int_least16_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L137">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias ushort <a class="symbol _alias" name="uint_least16_t" href="./htmlsrc/std.stdint.html#L138" kind="alias" beg="138" end="138">uint_least16_t</a>; <a title="Permalink to this symbol" href="#uint_least16_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L138">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias int <a class="symbol _alias" name="int_least32_t" href="./htmlsrc/std.stdint.html#L139" kind="alias" beg="139" end="139">int_least32_t</a>; <a title="Permalink to this symbol" href="#int_least32_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L139">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias uint <a class="symbol _alias" name="uint_least32_t" href="./htmlsrc/std.stdint.html#L140" kind="alias" beg="140" end="140">uint_least32_t</a>; <a title="Permalink to this symbol" href="#uint_least32_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L140">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias long <a class="symbol _alias" name="int_least64_t" href="./htmlsrc/std.stdint.html#L141" kind="alias" beg="141" end="141">int_least64_t</a>; <a title="Permalink to this symbol" href="#int_least64_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L141">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias ulong <a class="symbol _alias" name="uint_least64_t" href="./htmlsrc/std.stdint.html#L142" kind="alias" beg="142" end="142">uint_least64_t</a>; <a title="Permalink to this symbol" href="#uint_least64_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L142">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias byte <a class="symbol _alias" name="int_fast8_t" href="./htmlsrc/std.stdint.html#L146" kind="alias" beg="146" end="146">int_fast8_t</a>; <a title="Permalink to this symbol" href="#int_fast8_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L146">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias ubyte <a class="symbol _alias" name="uint_fast8_t" href="./htmlsrc/std.stdint.html#L147" kind="alias" beg="147" end="147">uint_fast8_t</a>; <a title="Permalink to this symbol" href="#uint_fast8_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L147">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias int <a class="symbol _alias" name="int_fast16_t" href="./htmlsrc/std.stdint.html#L148" kind="alias" beg="148" end="148">int_fast16_t</a>; <a title="Permalink to this symbol" href="#int_fast16_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L148">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias uint <a class="symbol _alias" name="uint_fast16_t" href="./htmlsrc/std.stdint.html#L149" kind="alias" beg="149" end="149">uint_fast16_t</a>; <a title="Permalink to this symbol" href="#uint_fast16_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L149">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias int <a class="symbol _alias" name="int_fast32_t" href="./htmlsrc/std.stdint.html#L150" kind="alias" beg="150" end="150">int_fast32_t</a>; <a title="Permalink to this symbol" href="#int_fast32_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L150">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias uint <a class="symbol _alias" name="uint_fast32_t" href="./htmlsrc/std.stdint.html#L151" kind="alias" beg="151" end="151">uint_fast32_t</a>; <a title="Permalink to this symbol" href="#uint_fast32_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L151">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias long <a class="symbol _alias" name="int_fast64_t" href="./htmlsrc/std.stdint.html#L152" kind="alias" beg="152" end="152">int_fast64_t</a>; <a title="Permalink to this symbol" href="#int_fast64_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L152">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias ulong <a class="symbol _alias" name="uint_fast64_t" href="./htmlsrc/std.stdint.html#L153" kind="alias" beg="153" end="153">uint_fast64_t</a>; <a title="Permalink to this symbol" href="#uint_fast64_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L153">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias int <a class="symbol _alias" name="intptr_t" href="./htmlsrc/std.stdint.html#L157" kind="alias" beg="157" end="157">intptr_t</a>; <a title="Permalink to this symbol" href="#intptr_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L157">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias uint <a class="symbol _alias" name="uintptr_t" href="./htmlsrc/std.stdint.html#L158" kind="alias" beg="158" end="158">uintptr_t</a>; <a title="Permalink to this symbol" href="#uintptr_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L158">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias long <a class="symbol _alias" name="intmax_t" href="./htmlsrc/std.stdint.html#L162" kind="alias" beg="162" end="162">intmax_t</a>; <a title="Permalink to this symbol" href="#intmax_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L162">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">alias ulong <a class="symbol _alias" name="uintmax_t" href="./htmlsrc/std.stdint.html#L163" kind="alias" beg="163" end="163">uintmax_t</a>; <a title="Permalink to this symbol" href="#uintmax_t" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.stdint.html#L163">#</a></dt>
<dd class="ddef"></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 1999-2008 by Digital Mars ®, All Rights Reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 03:40:10 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>